﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;

namespace MarginTrading.Entity
{
    public class CDSTran
    {
        #region public methods
        /// <summary>
        /// default constructor of Advisor. 
        /// </summary>
        public CDSTran()
        {
            this.reference = string.Empty;
            this.company_symbol = string.Empty;
            this.transaction_desc = string.Empty;
            this.trade_date = string.Empty;
            this.client_code = string.Empty;
            this.broker_code = string.Empty;
            this.transaction_type = string.Empty;
            this.transaction_date= DateTime.MinValue;
            int quantiy = 0;

        }

        #endregion

        #region property

        public string reference { get; set; }
        public string company_symbol { get; set; }
        public string transaction_desc { get; set; }
        public string trade_date { get; set; }
        public DateTime transaction_date { get; set; }
        public string client_code { get; set; }
        public int quantity {get; set;}
        public string broker_code {get; set;}
        public string transaction_type {get; set;}


        #endregion
    }

    public class CDSTranCollection : Collection<CDSTran>
    {
        public CDSTranCollection()
        {
        }
    }
}
